{template header}
{template nav}

<div class="sidnav">您的位置：&nbsp;
<a href="{url index.php?m=car}" id="nav_index2">首页</a>&nbsp;&gt;&nbsp;
<a href="{url index.php?m=news}">二手车资讯</a>&nbsp;
</div>


<div class="area">
 
<!--二手车首页焦点图 开始-->
 
<div class="left2">
    	<div class="tit"><h2></h2></div>
        <div class="focus_Img_div">
        <div class="focus_Img_div" id="focus_Img">
        <div class="focus_Img"><a target="_blank" href="#"><img id="fi_player" class="fi_player" src=""></a></div>
        <a target="_blank" href="#"><img id="fi_player" class="fi_player" src=""></a>
        <div class="fi_tab"></div>
        <div class="fi_tt"><a target="_blank" href="#"></a></div>
        </div>
      </div>
  </div>
 <script type="text/javascript">
 var focus_Img_data=[{$img}];
                   function creat_focus_Img()
                   {
                            if(focus_Img_data.length!=0)
                            {
                                     $("#focus_Img .fi_player").attr("src",focus_Img_data[0].p);
                                     $("#focus_Img .fi_player").parent().attr("href",focus_Img_data[0].l);
                                     $("#focus_Img .fi_tt a").attr("href",focus_Img_data[0].l);
                                     $("#focus_Img .fi_tt a").html(focus_Img_data[0].t);
                                     for(var i=0;i<focus_Img_data.length;i++)
                                     {
                                         $("#focus_Img .fi_tab").append("<span>"+(i+1)+"</span>");                                    
                                     }
                                     $("#focus_Img .fi_tab span:first-child").attr("class","now");
                            }
                   }
                   creat_focus_Img();
                   var focus_Img_timer;
                   var focus_Img_times=5000;
                   function auto_focus_Img(n)
                   {
                            if( typeof(n)=="undefined")
                            {
                                     var span_now=$("#focus_Img .fi_tab span").index($("#focus_Img .fi_tab .now"));
                                     var span_l=$("#focus_Img .fi_tab span").length;
                                     var span_next=span_now+1;
                                     if(span_next==span_l)
                                               span_next=0;
                            }
                            else
                                     var span_next=n;
                            $("#focus_Img .fi_player").hide(); 
                            $("#focus_Img .fi_player").attr("src",focus_Img_data[span_next].p);
                            $("#focus_Img .fi_player").fadeIn("normal"); 
                            $("#focus_Img .fi_player").parent().attr("href",focus_Img_data[span_next].l);
                            $("#focus_Img .fi_tt a").attr("href",focus_Img_data[span_next].l);
                            $("#focus_Img .fi_tt a").html(focus_Img_data[span_next].t);
                            $("#focus_Img .fi_tab span").attr("class","");
                            $("#focus_Img .fi_tab span:nth-child("+(span_next+1)+")").attr("class","now");
                   }
                   $(document).ready(function(){
                            focus_Img_timer=setInterval("auto_focus_Img()",focus_Img_times);
                            $("#focus_Img .fi_tab span").mouseover( 
                                     function () { 
                                               clearInterval(focus_Img_timer);
                                               var span_now=$("#focus_Img .fi_tab span").index($(this));
                                               auto_focus_Img(span_now);
                                     } 
                            ); 
                            $("#focus_Img .fi_tab span").mouseout( function () { focus_Img_timer=setInterval
                            ("auto_focus_Img()",focus_Img_times); } ); 
                   }); 
                   </script>
 
 
 
<!--二手车首页焦点图结束-->

 
<!--二手车首页头条新闻开始-->
<div id="newslist" class="center2">
	{php $topone=array_shift($top);}
 	<h3><a target="_blank" href="{url index.php?m=car&f=news&id=$topone[aid]}">{$topone['title']}</a></h3>
	<ul>
	{loop $top $v}
		<li><a href='{url index.php?m=car&f=news&id=$v[aid]}' target='_blank'>{$v['title']}</a><span>{gdate('m-d',$v['dateline'])}</span></li>
	{/if}
</ul>
	
  </div>
<!--二手车首页头条新闻结束-->   
 

<div class="rbox2">
    	<div class="rtit">
                	<h2>买卖技巧</h2><a href="{url index.php?m=car&f=news&cid=8}" target="_blank">查看更多&gt;&gt;</a>
                </div>
                
    <div class="pt">
            	<a target="_blank" href="{url index.php?m=car&f=news&id=$jiqiao_top[aid]}"><img width="106" height="70" src="{DATA_DIR}files/{$jiqiao_top['default_image']}"></a>
            <div class="pttxt">
            	<h3><a href="{url index.php?m=car&f=news&id=$jiqiao_top[aid]}" target="_blank">{cut_str($jiqiao_top['title'],14,'')}</a></h3>
                <p>{cut_str($jiqiao_top['summary'],46)}</p>
            </div>
                  </div>
        <ul class="list12">
        {loop $jiqiao $v}
            <li><a target="_blank" href="{url index.php?m=car&f=news&id=$v[aid]}">{cut_str($v['title'],42,'')}</a></li>
        {/loop}
            </ul>
    	
    </div>

</div> 
 
 




<div class="area">
<!-- 二手车列表 start -->
 
 
 
 
 
<div class="left1">




 
    	<div class="tit">
    		<h2>行业新闻</h2>
            <a href="{url index.php?m=car&f=news&cid=1}" target="_blank" class="more">查看更多&gt;&gt;</a>
        </div>
        <div class="lbox1">
        	<ul class="llist_news">
        	{loop $hangye $v}
                         <li><span>{gdate('m-d',$v['dateline'])}</span><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
            {/loop}
                         </ul>
        </div>
        <div class="blank10"></div>
 
    	<div class="tit">
    		<h2>车市行情</h2>
            <a href="{url index.php?m=car&f=news&cid=5}" target="_blank" class="more">查看更多&gt;&gt;</a>
        </div>
        <div class="lbox1">
        	<ul class="llist_news">
           {loop $cheshi $v}
                         <li><span>{gdate('m-d',$v['dateline'])}</span><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
            {/loop}
           </ul>
        </div>
        <div class="blank10"></div>
        
        
        
    	<div class="tit">
    		<h2>二手导购</h2>
            <a href="{url index.php?m=car&f=news&cid=6}" target="_blank" class="more">查看更多&gt;&gt;</a>
        </div>
        <div class="lbox1">
        	<ul class="llist_news">
        	 {loop $daogou $v}
                         <li><span>{gdate('m-d',$v['dateline'])}</span><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
            {/loop}
                         </ul>
        </div>
        <div class="blank10"></div>
        
        
         
    	<div class="tit">
    		<h2>数据报告</h2>
            <a href="{url index.php?m=car&f=news&cid=4}" target="_blank" class="more">查看更多&gt;&gt;</a>
        </div>
        <div class="lbox1">
        	<ul class="llist_news">
        	{loop $baogao $v}
                         <li><span>{gdate('m-d',$v['dateline'])}</span><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
            {/loop}
                         </ul>
        </div>
        <div class="blank10"></div>        
         
    	<div class="tit">
    		<h2>汽车评测</h2>
            <a href="{url index.php?m=car&f=news&cid=7}" target="_blank" class="more">查看更多&gt;&gt;</a>
        </div>
        <div class="lbox1">
        	<ul class="llist_news">
        	{loop $pingce $v}
                         <li><span>{gdate('m-d',$v['dateline'])}</span><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
            {/loop}
                         </ul>
        </div>
 
  </div>
 
   
 
 
 
 
 
<div class="rbox2">
	<div class="rtit">
    	<h2>名家专栏</h2><a href="{url index.php?m=car&f=news&cid=3}" target="_blank">查看更多&gt;&gt;</a>
    </div>
    <ul class="rlist_rnews">
    {loop $mingjia $v}
        <li><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
    {/loop}
        </ul>
    <div class="blank10"></div>
    
    <div class="rtit">
    	<h2>人物访谈</h2><a href="{url index.php?m=car&f=news&cid=2}" target="_blank">查看更多&gt;&gt;</a>
    </div>
    <ul class="rlist_rnews">
    {loop $renwu $v}
        <li><a href="{url index.php?m=car&f=news&id=$v[aid]}" target="_blank">{$v['title']}</a></li>
    {/loop}
        </ul>
</div>
  
 
<!-- 最新求购列表 end -->
</div>

{template footer}